package com.ds.infrastructure.hyperspace.console.dao.dao;

import com.ds.infrastructure.hyperspace.console.dao.mapper.TbNodeExecuteLogMapper;
import com.ds.infrastructure.hyperspace.console.entity.page.TbPageWhere;
import com.ds.infrastructure.hyperspace.console.entity.table.TbNodeExecuteLog;
import com.ds.infrastructure.hyperspace.console.entity.where.TbCustomWhere;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: yaozhendong
 * @create: 2019-10-25 15:51
 **/

@Repository
public class TbNodeExecuteLogDao {
    @Autowired
    TbNodeExecuteLogMapper tbNodeExecuteLogMapper;

    public TbNodeExecuteLog selectByPrimaryKey(Long id) {
        return tbNodeExecuteLogMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TbNodeExecuteLog record) {
        return tbNodeExecuteLogMapper.updateByPrimaryKeySelective(record);
    }

    public int insertSelective(TbNodeExecuteLog record) {
        return tbNodeExecuteLogMapper.insertSelective(record);
    }

    public List<TbNodeExecuteLog> selectListForPage(TbNodeExecuteLog where, TbCustomWhere mapWhere, TbPageWhere pageWhere) {
        return tbNodeExecuteLogMapper.selectListForPage(where, mapWhere, pageWhere);
    }

    public int selectListForPageCount(TbNodeExecuteLog where, TbCustomWhere mapWhere) {
        return tbNodeExecuteLogMapper.selectListForPageCount(where, mapWhere);
    }
}
